#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    setAcceptDrops(true);
    ui->setupUi(this);
    MyList* listWidget = new MyList();
    MyList* listWidget_2 = new MyList();
    ui->horizontalLayout->addWidget(listWidget);
    ui->horizontalLayout->addWidget(listWidget_2);

    listWidget->insertItem(0,"left_001");
    listWidget->insertItem(1,"left_002");

    listWidget_2->insertItem(0,"right001");
    listWidget_2->insertItem(1,"right002");


}

MainWindow::~MainWindow()
{
    delete ui;
}
